package com.itheima.d6_singleInstance;

public class QQ {
    private static QQ qq;

    private QQ(){
    }

    public static QQ getInstance(){
        if(qq == null){
            qq = new QQ();
        }
        return qq;
    }
}
